<!DOCTYPE html>
<html>
<head>
<title>ATM后台管理系统</title>
</head>
<body class="bgf6">

	<div th:include="common/boAtmHeader :: atmHeader"></div>

	<div class="main-body pb100">
		<div class="container pt10">
			<div class="dflx sbt">

				<div th:include="common/boAtmLeft :: atmLeft"></div>
				
				<div class="body-right">
					<div class="bread-nav bgff">
						<ul class="dflx">
							
						</ul>
					</div>
					
					<div class="bgff mt10 pb20 edit-mode">
						<div class="wrap">
							
                            <div class="box">
                            	<div class="box-title"><span>添加用户</span></div>
                            	<div class="mt20 f14">
                            		<div class="two">
                            			<span class="title"><i class="cred">*</i> 用户名</span>
	                					<div class="content">
	                						<input type="text" id="username" class="form-control parsley-error" value="" placeholder="请输入用户名"/>
	                					</div>
	                        			<span class="title">密码</span>
	                					<div class="content">
	                						<input type="text" id="pwd" class="form-control" value="" placeholder="请输入初始密码"/>
                						</div>
                            		</div>

                            	</div>
                            </div>
                            

                            
                            <div class="tc mt40">
                            
                            	<button id="signUpButton" type="button" class="btn btn-primary f12"> 提交 </button>
								
                            </div>
							
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
	


<script type="text/javascript">

	$('#signUpButton').click(function () {
		signUp();
	});

	function signUp() {
		dayuanit.ajax('/user/signUp', {
			username : $('#username').val(),
			password : $('#pwd').val(),
		}, function (result) {
			alert('注册成功');
		})
	}
</script>

</body>
</html>
